﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Model
{
    public class PaiRoomMoodel
    {
        [Key]
        public int Id { get; set; }
        /// <summary>
        /// 已排
        /// </summary>
        public string? YiPai { get; set; }
        /// <summary>
        /// 未排
        /// </summary>
        public string? WeiPai { get; set; }
        /// <summary>
        /// 房型外键
        /// </summary>
        public int PaiRoomTypeId { get; set; }
        /// <summary>
        /// 房号外键
        /// </summary>
        public int RoomNumberId { get; set; }
        public int State {  get; set; }
        public bool IsDelete { get; set; } = false;
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime Createtime { get; set; } = DateTime.Now;
        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime Updatetime { get; set; } = DateTime.Now;
    }
}
